package day20170420.programmer.entity;

/**
 * 人类
 * @author 罗智壕-13424431416
 *
 * 2017年4月19日
 */
public class Person {
	
	/**
	 * 程序员名字
	 */
	private String name;
	
	/**
	 * 程序员性别
	 */
	private Character sex;
	
	/**
	 * 程序员工资
	 */
	private Double salary;
	
	/**
	 * 程序员级别
	 */
	private String level;
	
	/**
	 * set/get
	 * @return
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Character getSex() {
		return sex;
	}

	public void setSex(Character sex) {
		this.sex = sex;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	/**
	 * 重写toString
	 */
	@Override
	public String toString() {
		return "Person [name=" + name + ", sex=" + sex + ", salary=" + salary + ", level=" + level + "]";
	}
	
}
